package com.cal.utms.core;

import java.util.ArrayList;
import java.util.List;

public class MenuItemDto {

	private int id;
	private String action;
	private String name;
	private int order;
	private String status;
	private int perantid;
	private int screenId;
	private List<MenuItemDto> childMenuItems;

	private List<MenuItemDto> menuItemDtos;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getOrder() {
		return order;
	}

	public void setOrder(int order) {
		this.order = order;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getPerantid() {
		return perantid;
	}

	public void setPerantid(int perantid) {
		this.perantid = perantid;
	}

	public List<MenuItemDto> getChildMenuItems() {
		return childMenuItems;
	}

	public void setChildMenuItems(List<MenuItemDto> childMenuItems) {
		this.childMenuItems = childMenuItems;
	}

	public List<MenuItemDto> getMenuItemDtos() {
		return menuItemDtos;
	}

	public void setMenuItemDtos(List<MenuItemDto> menuItemDtos) {
		if (this.menuItemDtos == null) {
			this.menuItemDtos = new ArrayList<MenuItemDto>();
			this.menuItemDtos = menuItemDtos;
		} else {
			this.menuItemDtos = menuItemDtos;
		}

	}

	public int getScreenId() {
		return screenId;
	}

	public void setScreenId(int screenId) {
		this.screenId = screenId;
	}

}
